package com.tql.kingdee.service;

import com.ruoyi.common.datasource.annotation.Master;
import com.tql.kingdee.bean.TqlStapPriceBean;
import com.tql.kingdee.mapper.DsTestMapper;
import com.tql.kingdee.mapper.TqlStapPriceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StapPriceService {
    @Autowired
    private TqlStapPriceMapper tqlStapPriceMapper;
    @Master
    public List<TqlStapPriceBean> findStapPrice(List<TqlStapPriceBean> source) {
       return  tqlStapPriceMapper.findStapPrice(source);
    }

    @Master
    public void mergeStapPriceByStapCodeAndDeptCode(List<TqlStapPriceBean> thisList) {
          tqlStapPriceMapper.mergeStapPriceByStapCodeAndDeptCode(thisList);
    }
}
